package pack1;



class Student implements Cloneable{
	int id;
	String name;
	long phone;
	public Student(int id, String name, long phone) {
		this.id = id;
		this.name = name;
		this.phone = phone;
	}
	void show(){
		System.out.println(id+"\t"+name+"\t"+phone);
	}
	protected Object clone()throws CloneNotSupportedException{
		
			return super.clone();
		
		}
	}

public class Program26{

	
	public static void main(String[] args)throws CloneNotSupportedException {
		Student st1=new Student(1,"srikanth",12345);
		st1.show();
		Student st2=new Student(2,"raju",123456789);
		st2.show();
Student st3=(Student)st1.clone();
st3.show();
Student st4=(Student)st2.clone();
st4.show();
	}

}
